/**
 * @FileName: TitleBar.java
 * @Package:com.bdtop.dbl.ui.widgets
 * @Description: TODO
 * @author: MingjunLi
 * @date:2014-9-24
 * @version V1.0
 */

package com.bdtop.dbl.ui.view;

import android.content.Context;
import android.os.Handler;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.view.View;
import android.widget.LinearLayout;

import com.bdtop.dbl.utils.DBLDebug;

public class MLinearLayout extends LinearLayout {

	public MLinearLayout(Context context) {
		super(context);
	}

	public MLinearLayout(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	public MLinearLayout(Context context, AttributeSet attrs, int defStyle) {
		super(context, attrs, defStyle);
	}

	private View view;

	public void setView(View view) {
		this.view = view;
	}

	@Override public boolean onInterceptTouchEvent(MotionEvent ev) {
		DBLDebug.loge("m linear layout  on interceptr touch");
//		if (view != null) {
//			view.invalidate();
//		}

		return super.onInterceptTouchEvent(ev);
	}

}
